package net.vinote.smart.platform.service.handler;

import net.vinote.smart.platform.module.database.bo.BizObject;
import net.vinote.smart.platform.service.dw.handler.CommonHandler;
import net.vinote.smart.platform.service.dw.handler.HandlerPerimissionAnnotation;
import net.vinote.smart.platform.service.util.Permission;
import net.vinote.smart.platform.service.util.Permission.PermissionEnum;

@HandlerPerimissionAnnotation(
		insert = @Permission(PermissionEnum.SMART_ROLE_INFO_INSERT),
		query = @Permission(PermissionEnum.SMART_ROLE_INFO_QUERY),
		update = @Permission(PermissionEnum.SMART_ROLE_INFO_UPDATE),
		delete = @Permission(PermissionEnum.SMART_ROLE_INFO_DELETE))
public class RoleInfoHandler extends CommonHandler {

	public void initDisplayForEdit(BizObject bo) {
		setReadOnly("RoleID", true);
	}
}
